package com.juhuixing.common.utils.custom;

/**
 * @ClassName PageUtil
 * @Description TODO
 * @Author 刘猛
 * @Date 2019/5/31 11:42
 **/
public class PageUtil {

    public static Integer getOffSet(Integer pageSize,Integer pageIndex){
        return pageSize * (pageIndex - 1);
    }
}
